package com.family.pedigree.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.family.pedigree.domain.FamilyTreeNode;
import com.family.pedigree.domain.common.FamilyAgeClass;
import com.family.pedigree.domain.common.FamilyCollage;
import com.family.pedigree.domain.common.FamilyMan;
import com.family.pedigree.domain.common.ProvinceNum;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 家族树节点 Mapper 接口
 * </p>
 *
 * @author forever
 * @since 2024-11-24
 */
public interface FamilyTreeNodeMapper extends BaseMapper<FamilyTreeNode> {

    void updateBatchByFamilyName(@Param("familyName") String familyName);

    List<FamilyAgeClass> findAgeClass();

    List<ProvinceNum> findProvinceCount();

    List<FamilyCollage> findCollage();
}
